package com.tron.enumclass;

public enum Size {
    SMALL(1,"小号"),
    BIG(2,"大号")
    ;
    private Integer value;
    private String name;
    Size(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
